﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace XiaoweiUWP.ViewModels
{
    public class PopItem
    {
        public string Text
        {
            set;
            get;
        }
        public string Url
        {
            set;
            get;
        }
        public PopItem(string title, string url)
        {
            this.Text = title;
            this.Url = url;
        }
    }
    public class SkillPageViewModel
    {

        private ObservableCollection<PopItem> Collection = new ObservableCollection<PopItem>();
        public ObservableCollection<PopItem> PopCollection
        {
            get
            {
                return Collection;
            }
        }
        public SkillPageViewModel()
        {
            Collection.Add(new PopItem("\"现在时间是多少\"", "http://www.baidu.com"));
            Collection.Add(new PopItem("\"现在时间是多少\"", "http://www.baidu.com"));
            Collection.Add(new PopItem("\"现在时间是多少\"", "http://www.baidu.com"));
            Collection.Add(new PopItem("\"现在时间是多少\"", "http://www.baidu.com"));
            Collection.Add(new PopItem("\"现在时间是多少\"", "http://www.baidu.com"));
            Collection.Add(new PopItem("\"现在时间是多少\"", "http://www.baidu.com"));
            Collection.Add(new PopItem("\"现在时间是多少\"", "http://www.baidu.com"));
            Collection.Add(new PopItem("\"现在时间是多少\"", "http://www.baidu.com"));
        }

    }

}
